The most important thing I guess is learn to recognize what triggers the so called Behaviour-that-doesn't-bring-any-results-but-trouble, and stop yourself in the tracks. Once you learn how to do that, you control your behavior and hence the outcome. So I think you're doing great, and results are sure to follow.
BTW: I could use some advice right now.. Confused.
To get through the darkest period of the night, act as if it is already morning.
The Talmud