LOK DocView: handle document load failure without crashing.

Change-Id: Icd668b3a7ec3ac58322a6af3f1da6008837d0b6b
fix comment and tiny optimisation for shutdown.

Change-Id: I94e0f55f7fc38529a9ab165786efaf7ac649a9d3