Primary production, isotopes, extinctions and the atmosphere