Used usleep in fps-handling for Windows.