GhostDad, hang in there! Your doing the right thing! I filed for divorce in my marriage back in 2007. My daughter was 2. We set up a parenting schedule right in the beginning of the divorce in which I had my daughter from Sunday night til Friday every week. We made it clear to my x that she would need to work and get a job (get her feet on the ground). During the beginning of the divorce she accused me of hitting her and I was arrested. I can still remember standing in front of the judge in handcuffs and ankle shackles. I thought there was no chance in the divorce.
That was almost 7 years ago and $175,000 later! I live in my marital home with my daughter, she sees her mom on three weekends per month. My x wife has nothing, she spent the $100,000 I gave her and lives in a hotel!
I would recommend keeping contact with your kids and do it through supervised visitation, it protects YOU. Things will improve and your kids will see the big picture some day. My daughter is 9 and figured it out, you should see how good she feels when she comes home on Sundays. Her home is here with me and she sees her mothers disfunction. Take care of you, stay strong and the rest will work itself out