Something happened here but I have no idea what because there's too much scrollback.
Don't stay together 'for the children'. To do so is to model for your children that whatever dysfunction and abuse you are tolerating is something to be accepted, which will do them no favours either.