Remove unused function for reading command line arguments. Delete or
comment out debugging print statements.
Display progress properly