I think Living Well mentioned risperidone, which I beleive is the generic of Temazepam, which I was on for 11yrs for chronic insomnia. Seroquel gave me nightmare, Trazodone gave a panic attack that landed me in the hospital. lamictal, weight gain, pretty much exactly what yours said. Temazepam is anticonvulsant and not meant for long term use but, it works!! I finally ended up going to a Hypnotherapist after I couldn't get a doctor to prescribe it anymore and despite being Highly Sceptical, 1 session cured my insomnia for 12 months! Of course at $125.00 hour, it would have to work that long
That's my experience, I hope it helps, and don't stop looking on your own, doctors are stuck in whats in the "book" but the good ones will work with you.