Added drag-and-drop for menu items and automatically rewrite levels.