work-in-progress
Ref-counted rewrite of ChannelManager.
clang-reformatthing
nit
numofchannels + remove stdio
release channel on destruction
this should be a good point
windows size_t->int32_t cast