hidden percent and max information in ProgressBar sample fixes #301

Thought this was the easiest way to fix #301. Tell me what you think.