Disable edit menu options when appropriate.
Disable file related menu options when appropriate.