Lots of changes.

* Progress output.
* Don't clobber the directory when we start.
* Fixed bug in conditional logic of getting @n.