Reworked structure of ThreeWayCompare.
Almost able to import channels.