Preliminary work on using argparse for better command line handling than just accessing sys.argv directly.