Added various log messages to initialization an shutdown phases.

Updated cmake files to add ALPHA_DEBUG when building debug mode.