Finish initial logging of main.cpp

After the recent addition of a 'stringify' utility function, the rem-
aining log commands could be added to the main.cpp file.

Logging in the component classes is not yet added