changed the main program to write log messages to a specified file added moo_getuopt()/moo_getbopt()/moo_getopt()