I think $comchan needs some improved functionality for multi-server support. An extra parameter for the $cid would improve it a lot.