Miscellaneous bug fixes. Arguments passed in ChannelUserEvents and
ChannelEvents, including the mode changes.