Implemented removeChannel functions, cleaned up some stuff.