Sounds familiar, my sleep patterns went to shit after my divorce. The only thing I founds that helped is having a routine, in my case it's go to bed, read a book in dim lighting, when my eyes start to blur turn off the light.
If I don't actually go to bed I'll be up for hours watching TV or playing with a computer, once I fall into that it's hard to break out of.
If I don't read a book then my mind is still racing thinking about... well everything.
After ten years of this I can say I have an almost normal sleep pattern.... almost.