Add error checking to .attr in gameObject
And method to reset engine
Use reset method in Klang sample