Ignore menu commands if app isn't ready.
Remove debugging code.
Merge pull request #3779 from adobe/glenn/issue-3673

Fix for #3673: Ignore menu commands if app isn't ready