Dude, your sitch is so far from over. Don't sweat the court proceedings.
I went through that with my now Exw. She chased after me after we divorced. She still flirts with me and is engaged to another man, it's crazy. I know she regrets it.
Keep making yourself a better man, you can't lose if you follow that approach.