more renamings, and made a onceDataChannelClosed function for freedom interface