New main

Moved check_fps() to TimeManager class.