Started with the rewrite of this engine/attempt to do it properly. The comments at the beginning show where I am going.
Removed request animationFrame and touch file completely becacuse one file should be able to do it all