Cleaned up some bits; map doesn't move out of it's bounds anymore; clicking on tiles works (but doesn't do anything).