more cleanups, started on nice logging framework

UCC git Repository :: git.ucc.asn.au