Add guards to the complete document retireval process so that we
throw out bogus data if changes happen while we're waiting.

Helps fix #147
Merge pull request #150 from adobe-photoshop/jrb/issue-147

Add guards to the complete document retireval process