command line arguments for cli and nw apps.
corrected nconf file order
corrected nconf picking up wrong settings in linux
Remove warnings about missing semicolons