O.M.G. (I read the whole thing -- you deserve that at the very least for all you've been through!) I'm casting about for words out of pure shock.
I don't know how on earth you managed. The strength to do that is amazing and is to be highly commended. To say that I could never managed that is a massive understatement. As others have said, good for you in recognizing and moving forward and taking care of yourself!
I also think that the whole situation was a trigger, as opposed to being the cause.
I hope that many good things happen for you in your moving forward.
Welcome, btw! (Was lost in shock before.)