Improvements to level editor