Fix #1797 and add a showTimeControls flag.

So @kring brings up a good point that the credit logic is dependent on the knowledge of the visibility of the time controls.  I propose adding the flag to viewer here.