Untangle some badly-connected channels
Add a function for sending notices
First steps towards channel-based callbacks
Fix some silly old code