Update main.cpp

More logging additions. main.cpp should be complete now.