Fixed channel setup. add channel.active flag etc.