Issue #340 - add javadocs and make it easier to have a ProgressBar with a single (default) stack