improvements to the map editor