Swap the open documents and active document hysteresis
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
Merge branch 'iwehrman/v2' into ps-next