Only show md5 logging while in debug mode.
Minor formatting cleanup.