I know that insomnia seemed to start my depression and once I was starting to feel alive again and insomnia started another endless round of depression again.
Lately I have avoided insomnia, first by getting up the same time everyday and using 75mg seroquel at night to keep me sleeping.
Rarely had trouble falling asleep. The last two times were in december, I used a litebook this year and this 'may of helped'.
Good luck,