Fix progname
Basename (unix)
First OS function extract_os_ensure_dir_exists() -- unix only, temporary testcode in main program