That ending is such a doozy that Robert Jordan wrote an entire epic length novel processing it!
First, I would like tattacker the chance to commend the reference work that Jordan's widow and personal assistants put together after the whole series was done, it is excellent as a reference tool...