Initial import of prettify.
Switch to argparse, permitting further clean up of code.

(Still some weirdness with pipelines.)