Ghost, Detachment doesn't come easily and it won't happen w/a snap of the fingers. It's something that you have to work on and then one day...it's natural and you come to realize that you are not reacting to what is being said or done by your spouse as much as you did at first.
Don't beat yourself up if you have slip ups. It happens. Just get up, dust yourself off and continue working on you and moving forward. We all have been where you are and it takes time to learn how to do the things that we advise you to do.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.