Prevent errors when dealing with updates to a document that has been closed
add check for null to parsing layer name (watson 3652952)
Merge pull request #152 from adobe-photoshop/dk/check-if-unknown

Check if unknown document first
Merge remote-tracking branch 'origin-adobe/master'