I am so glad to hear this! Like your W, my H magically decided to settle out of court at the 11th hour (I see you are in NY as well, this state is a NIGHTMARE!). And when I say 11th hour he had until 5pm to sign the settlement or the next day we were to be in court. He signed, I kid you not, at 4:58pm. It was horrible.
He had backed out on signing 2 prior agreements that were reached in our pre-trial conferences in front of a judge so I was not hopeful but in the end he know a trial would not bode well for him.