More work on map editing. Removed old debug messages.
Even more work on maps.