Minor updates

Set up the logging to record messages if a logger object is provided.

The retrys or retry_delay settings can now be set to 0 and it should just skip over that exception and continue to the next regularly scheduled date/time.

The threads have been set to daemon = True so that any pending jobs will stop with the ending of the main program.