Switch to pyton logging.
Rework proxy checking.
Fix bookkeeping for running jobits when jobs fail.
Daemonize the processing loop.