Minor channel.c tweaks/cleanup + copyright.