Loop cant be global, depends on currentAnimation
Merge branch 'master' of github.com:plorry/gramework
Merge pull request #24 from bartek/master

Animation loop fixes