One thing WHG touched on that I want to expand on is that thru the process, remember that your kids are watching you.
Thru my own sitch, I've tried to demonstrate to my kids that vows are important, marriage is worth fighting for, people can change, family is first, etc. Once I got this in my head, a lot of the decision making became easier and I can honestly say, whether my M makes it or not, I've done a pretty decent job in teaching my kids these things.
Thinking of it this way can give you that extra ounce of patience you sometimes need, the ability to walk away and cool down, the willingness to meet your S in the middle.