Implementation of configurable framerate

Still sometimes feels unsmooth and I don't know why...

Version: 1.alpha.13.00

Signed-off-by: GreatEmerald <pastas4@gmail.com>