minor updates

corrected issue with init getting called twice
added textClass, showProgressBar, progressBarClass, and setPosition
properties