Various map editor improvements