fix PEP8 warnings
Better progress reporting. Requires python-progressbar