FPS limiter

defaults to 60, works for all render modes.

not sure if i should push this to the main branch. i'll leave it to your discretion.