Added choice of custom framerate instead of vsync