Updated & optimized the map editor.