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.
This is fine for now, I want to merge this PR. Let's open a new issue to clean this up later.