re-add GPL notice which I accidentially deleted
add GPL notice to core_channel.py
small cleanups