Made the level editor more functional