1.3

change method of frame rate control
fix bugs