--debug and --verbose, and restrict warning amount on normal and --quiet
Cleanup temp directory after we're through with it.
--outfile command-line option
minor refactoring
--progress switch (not unit-tested)