Bug fixes
Hugely improved nextFrame function simplicity