Tweaked the progress bar and added debuging msgs

ProgressBar will be visible only if the value is NOT 0 or NOT 100.
that means, if there is no progress going on, there is no progress bar
visible.