Debug file was always written, and at the wrong place
Config file is optional, user should be able to specify parameters on command line
Add --version switch
update documentation