log and channel cleanup

starting to clean up the log and some of the channel stuff. merge it.