Add init log statements to main.cpp

After adding some init code for logging from main.cpp, the actual log
commands still needed to be inserted into the code.  Several of these
were done under this commit.

Note: Several log commands were omitted, because desire to print/log
info other than straight strings (i.e. integer return vals etc), requires
a few utility methods to be added (for type-conversion) first.