hung window when command of update and revert.
Merge pull request #18 from lite3/master

hung window when command of update and revert.