Smoother frames? Removed unneccessarily complex timing code, just use requestAnimationFrame, should be smoother.
Skip frames to keep timing correct. Remove some old logging.