Fix debug output for check period
Reformat config file a little
Match comment to function