Selecting a ground type now puts the user back into drawing mode.
Added border to map. Automatically grows if map is too large.
Added cap to the max number of tiles modified per frame.
Merged.