Exceptions in Map destructor

Iterator comparisons in the ChunkMap caused exceptions to be thrown; changed iteration to go by map.size(). Done in VS2012