Here's why I am not an optimist about mankind's chances of long term survival (and the long term may hit us sooner than we think). Because we are too many on this planet, mostly doing bad things to our habitat. And the thing is we cannot stop doing bad things because our livelihood depends on us doing them. Slowing down our rapacious mode of living would mean a severe lowering of standards of living across the globe - potentially outright peril for hundreds of millions.
This means that we are doomed because we either change radically our ways (a near impossibility, given our record) or there is a significant reduction in our numbers.
Since we cannot intentionally cause the latter, on obvious moral grounds, the habitat can only rely on its oldest and most numerous residents, the bacteria, to save it...

