implement lag and more tweaks.
Merge branch 'master' of https://github.com/huzhangyang/musicgame.git
bugfix.