sorry.. I'm just a barrel of laughs aren't I!
all I can suggest is what worked for me in the very early days was to get a huge boxset of a tv show and each night I got into a routine of watching one episode each night. when I had watched them all I watched the making of an the commentaries etc.. each night just one episode. I found if I broke the night time routine I couldn't sleep. It took me about 4 box sets to feel okay about going to sleep at night but frankly from time to time (like atm) it's hard to get to sleep - it's not loneliness but rather depression, don't get them confused. It's okay to feel depressed and normal to feel lonely.