small enhancements
message box appearance enhansements
Refactoring of updateDocument mechanism. Rewritten to async.waterfall