Amid all the doom and gloom on climate change, there are some good reasons for cautious optimism.