Fix the channel implementation and remove the backtrace stuff.