Added logging for the state of the program when it starts.
Made the processing actually deal with the config.