Switched from optparse to argparse.
get_name_root now functional.
get_prog_name_root added to return name of program without extension.