hidden percent and max information in ProgressBar sample fixes #301

Thought this was the easiest way to fix #301. Tell me what you think.
I don't know about the root cause but from a purely UI perspective wouln't it be clearer to display something like "Value: indeterminate" when event.value is NaN?