Fixed getIceOn failures with late ice-ons and added caching.
Fixed habitat out calc for new iceoff function