of light in front of the eye associated with headache is a classical feature of migraine
. this type of eye problem is called aura.
is there any trigger factor of aura like sleep disturbance,coffee,alcohol etc.
you are living with stress
& frequent nightmare. so it may be a feature of psychosis
first of all consult a internal medicine specialist to exclude migraine.