handle errors resulting from documents that are closed before we ask about them
Merge pull request #311 from adobe-photoshop/jrb/handle-rapidly-closed-docs

handle errors resulting from documents that are closed before we ask about them