Always fire activeDocumentChanged and openDocumentsChanged on startup, even if there are no open documents; check for pending menu operations menu creation as well as menu toggle