switch to using global settings, instead of per-task, and make them pass in settings from the command-line, and into the run function.
add support for rc files.
fix a bit of logging.
merge these two files now.