Sunny if your WH can keep his emotions and negativity to himself and do the work while he's there I say that's fine.

It's ok for him to feel miserable, but dropping that in everyone else's lap and threatening to run away is the line you want to draw at...

And I am sure you feel as miserable as he does about the marriage, you just aren't brooding.