Map editor main