Major changes to map editor.