Add exception handling for map editor.