I have found the best way to shake myself out of some seriously negative thinking is to write out a gratitude list! I have many floating around my house and office. I've even been doing them in my head when I start down the 'woe is me' road.
Glad you are staying strong!
~T