Add pause function and FPS control