Prevent extra frames being played after loop stopped
Merge branch 'master' of github.com:tancredi/game-loop