small fixes

*added queries for window dimensions
*fixed? a bug with key combo matching
*added a clamp function
*fixed initial scroll position to be over player
*fixed zooming to be centered over the tile that was previously centered
*fixed opening / closing doors under the player