to answer your question to me

nope...it doesn't justify her acting the way she does

however

instead of getting angry that she is acting that way
own your role in it

saying you didn't act how you would have liked to act is pretty easy to say

how are your actions showing differently?

she moved and you took it as an attack on your business
you said you were going to move there with stipulations
then you decided against it and stayed put and are now fighting for custody

you said you would pay for her house (making it really your house) as long as she stayed where you want her to

listen
who the hell cares what I think
this is about you and who you are

I am just suggesting that looking at it from a different perspective would allow you to see things differently

what have your actions taught your wife and your boys about you
(I don't know what it has...just asking you to ask that question)

being a friend means that not everything relates back to you
it means actively listening
it means not being the center all the time
it means sharing
good and bad
and
it means laughing
at everything
mostly yourself