Add buffering option.

Closes #13.

Also add comments to args and opts.