Added "dontUpdate" parameter to undoManager.unlock and the corresping 'unlockSnapshot' listener