Reengineer logging and remove old show_msg

Signed-off-by: David Goulet <dgoulet@ev0ke.net>