So glaciers melt - they have melted before and came back in a few million years there is no reason to believe that this will not occur again. So we lose access to them now but this would happen eventually anyway. Sure not in our lifetimes but across the millions or billions of years before the sun kills the planet completely ice will come and go unless we find a way to control the natural process that regulates.
Glaciers melting lead to rising sea levels - well this means a few options accept the loss of land or put up barriers to protect it. You always hear that NYC will be underwater in X number of years. Of course it wont. Humans will find ways to solve that problem. Build dams, raise the island by bringing in extra soil, etc. Now a place like Florida does not have those type of options so likely it will slowly be sunk by hurricanes that destroy the sand barriers that we put up. Yes, entire towns will be destroyed in a storm but this happens today. It will likely be more frequent thus making it more difficult to make the decision to rebuild. Eventually people will move somewhere else. And during this process jobs will be created to rebuild homes, reinforce older homes, build dams, better water management process etc. It is said that global warming will cost X billion or trillion dollars. Well a lot of that will go into job creation oddly enough. "You see, father, by causing a little destruction, I am in fact encouraging life."
We are killing the planet! - Ahh this old argument. There is nothing we can do currently to kill the planet. Nothing. Sure global warming might kill off a chunk of species that cannot adapt. Hell all out nuclear war might kill off 90% of the worlds species but life will survive and adapt. Over a million years or so the radiation will decay and the adaption process will continue. It would be a blip on the radar for the earth, kind of like the meteor impact that killed the dinosaurs.
So as I see it global warming is just accelerating a natural process that would happen anyway some time in the future (hundreds, thousands or millions of years). Lots of money will be spent trying to fight or clean up the damage but that just means job creation. Species will adapt or die but over a long enough time period we will die off anyway (baring interstellar travel).
I've noticed several design suggestions in your code.