Polish and robustness in anticipation of release

 * Command line arguments for output, capture buffer size.

 * Careful checking of input data.

 * Better diagnostics when encountering malformed or truncated input.

 * Verbose option.