Also, not sleeping well will do a number on you in both the physical and emotional sense. Having a headache all day from being tired is enough to push anybody over the edge.
If you don't want to take a RX sleeping med how about trying evening yoga, bedtime tea or some other home remedy. I really had to teach myself to turn off my brain once I went to bed.