Added map-boundary collision.
Began work on the tile-editing window.