Added a few modifications to tilemap.js in preparation to add the minimap.  Currently everything I've done has no effect on the current game so no need to worry about something being broken.