Started on Menu System

Started working on the menu system. It is incomplete, but what is
complete is functional.

Also started exporting scripts before save to allow for some failsafe
and version tracking functionality.