Fixed FPS calculation, prepared CMT flag.