I would suggest you stop have any contact with your W that is unnecessary. Pick up the kids and be gone. Also, it may be time to push along the D so you can get your own place.
Lastly what are your boundaries? The more you allow your W to treat you like $hit in front of your daughter the more your D will lose respect from you.