Fix a signed vs unsigned comparison warning.
Fix a multichar warning.
Fix a memory leak in Channel class.