Add with-receive-channel helper; clean up debug messages