Fixed bug with the view. Finished clean up with map class. Fixed bug in SpriteManager.