Added 'close' to file menu and implemented some missing CloseProject behavior.