more pep8 and whitespace fixes.  Plus a 0 percent catch in progress bar
made some changes to progress bar to fix issue with 0% complete