Here's the amazing thing - it takes a lot of GUTS to admit that yuck. A ton. I respect you oodles for it.
And, as coffeedrinker said, you have the chance to come clean - even if you are divorcing - and sit down and say, "I KNOW I was wrong and I'm sorry" and that is priceless.
Thanks for being so real with us.
Hugs,
peace