Fixes numenta/nupic.cerebro2#35. Addresses issue of allowing player to go beyond number of actual iterations. Also introduces code to automatically enable/disable player buttons depending on the state of the animation.
Changed function name _checkControllerState to _isControllerEnabled
Merge pull request #57 from jefffohl/issue35b

Fixes numenta/nupic.cerebro2#35