Looks like you've received all the usual, reasonable advice so I want to suggest something else...
Because you've expressed you are not comfortable with the thought of leaving, at this time...
Here goes, it's a test with alot of role playing and often the results are very surprising:
Think back to a time when you felt really good about your husband- a time when you naturally felt loving, passionate and really liked and respected him. Next pick a time/place to be completely alone with him and treat him the way you did back then (flirting, kind, complimentary words, and as sexy and enticing as you can possibly be). Your goal is to make him feel that you intensely want and live him...
I know you might say it would be impossible to act that way towards him, but force yourself, even if you're being a complete actress.
Maybe set a time limit in advance (like an hour) if you feel this test is not something you want to do.
-- Next, let me know how you feel about him during this time
and more importantly how he responds to your flirting/passion game.
If there's nothing good (not likely) it will help you towards the path and preparation of leaving him.
If he treats you positively and lovingly, back, it could be the beginning to steering your marriage to how it was intended to be.
(A partnership that cares for, supports + respects each other).
Honestly, you have nothing to lose.
And if you can rekindle some of the feelings that attracted you to each other in the first place,
I'm fairly certain his mean or abusive behavior or anger will quickly decrease or subside (make your home life much better and/or set a new base to work out some of the negative interactions you developed in your marriage.
Again, if you felt leaving was what you wanted to do I would not suggest this, but since you're staying it certainly is worthwhile to test if there's any good feelings, love and attraction left to rekindle and grow for the future.
Sure beats being miserable, sad or feeling like you're being treated terribly.
Good Luck