I had dreadful nightmares for ages like you and now they are gone for some years. I stopped all sleeping medication (tranquillizers, sleeping pills, antidepressants) and they gradually disappeared but I also "accepted" my erratic sleeping patterns since sleep deprivation brings them back and...