small update to support the new set logfile syntax.

Also - usage output and a few more command line options.