Fixed menu script.

Menu and editor now have their own files.