More work on map editor. Can now open/save maps. Need to do major code cleanup among other things.