Completed the New Script menu item and made the module more intelligent about whether or not a file is dirty and needs saved.