Minor formatting fixes to example scripts
Refactored Progress classes. Optimized ProgBar rendering