they are hypergognic(or something like that) imagery. I do believe that your brain projects these images to help you fall asleep. If the images are abstract then the logical part of the brain is falling asleep.