controls playback frame rate, removed dead code