I'm sorry how things turned out, but you'll feel a weight lifted off your shoulders in the coming days. You don't realize just how much stress you've been under and now you don't have to be looking over your shoulder or waiting for the other to shoe to drop all of the time.
You are and will continue to be fine. It's one step at a time. As for your xh, it will catch up with him one day and it'll be too late because you will have moved on and he'll be stuck in the same old place of going absolutely no where fast.
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.