Now feeding lua the program args, added a way to just run the config script and exit, and minor lua refactoring.
Now feeding lua the program args, added a way to just run the config
script and exit, and minor lua refactoring.

drcforbin/rwte,drcforbin/rwte,drcforbin/rwte,drcforbin/rwte