Upgrade to argparse. Fixes #4. Fixes #9. Fixes #10.