implement smooth clock tick. Qiu
Merge pull request #2 from winsonwq/master

merge to branch