At the end of May I was laid off from my job and since then I have had a really difficult time adjusting to this change.
My weight loss has pretty much stalled and I think a major part of this may be my ongoing battle with insomnia. I can't seem to go sleep at a normal time. last week I didn't go to bed at all before 4am one night I was up until 6 am. Without the pressure of having to get up for work it is like my mind sees no reason to shut down.
I will lay in bed for hours just thinking about joblessness and money it is not particularly productive. I have tried taking over the counter sleep aides and I am not a fan of them and I find them to be inconsistent in results. I have also tried home remedies and herbal remedies.
I am really kind of at my wits end her because I know that I am not going to be able to focus on anything if I don't start establishing a normal sleep pattern. I need to really put time and effort into finding a new job but I am so tired all the time that I have little energy for the work involved in that.
I try very hard not to nap during the day but sometimes it happens. I've started having problems with dry eyes and headaches as a result of the lack of sleep and I just don't know what to do about it any more.

I feel your pain. I am on this site right now at almost 1:30 am because I have those same issues. Insomnia is the one health issue for which I have just never been able to find any relief. I do not want to take sleeping pills(dangerous, habit forming, etc.) and the natural supplements, diet, exercise, etc type of things that I have tried have not been very helpful. I have tried sleeping with a mask, herbal sleepy teas, bright light exposure first thing when I awaken. Tinkering with going to bed 15-30 minutes earlier each day and getting up earlier doesn't seem to help. In desperation, I have even tried staying up for more than 24 hours and trying to sleep the next day at 10pm. None of these things have ever really helped. If I get on a better schedule it lasts a couple of days at best and then it is right back to the 4am thing. Stress, depression and thyroid is issues tend to make insomnia worse...with your current job situation the stress and depression are a pretty likely thing. Wishing you better luck than I have had with this issue.
Many people speak very highly of melatonin. That's not a 'real' drug, so it doesn't have any of the risks that regular sleep aids carry. It might be worth a try. And for what it's worth, I don't think there's anything wrong with using OTC sleeping pills in the short term. You might find that using them helps you to get onto a regular schedule and then you can stop taking them after a week or two. I don't know that they are SO habit forming for most people.
And was groggy until much later that day. If you haven't tried it, there are 500mcg tablets, or 1mg you can start with. I take a 5mg. Keeping your bedroom as dark as possible also helps - if you have a glowing clock, turn it toward the wall. Blackout drapes (we used a sleeping bag for a while) are helpful too. I make an effort to avoid the electronic devices (TV, computer, iPad) in the hour before bedtime.