Optimized PrivateChannels: added new features, fixed some bugs