You sound an awful lot like my H..but, you see it and are working on changing it, my H is basically lost right now and I have also turned to God. Which has been my lifesaver. I am praying for my H like I never have before, because inside my H is a man who doesn't know how to change, I think that he wants too, but doesn't quite now how to do that, feels hopeless and hasn't discovered God yet.
I hope that someday he will recognize his ways and work on changing them. So I keep praying, but I'll love him either way.