start of map editor