progress bar functions, sleep times update

1. created 'showPreProgress' & 'showPostProgress' functions, removed all
old duplicate progress bar code and replaced with calls to these two
functions instead. much cleaner!
2. reduced 'sleep' times from 1 to 0.5 for faster process of functions
3. etc etc