Added framerate limiter, now runs at 60fps and can be adjusted.