Improve throughput; add some diagnostics
Improve performance

Currently outputs at 7.8MiB/s on my machine.  Download rate appears to
be around 1 MiB/s.