Add logging capabilities, tweak config options and add a couple of minor timing functions.
Add logging and make Mail run without need for Start.py.