close menu item

Updated the close menu item so that it functions. More refactoring.
Merge pull request #4 from cusmonaut/HookUpMenuBar

close menu item
Merge pull request #3 from cusmonaut/master

Updated File>Close menu item, now works