" Also, it has been said that some of the most creative inventions have come from one's dreams. Has anyone had a creative invention come from a dream? "
I think that the best thoughts are product of subsconcience mind.
I noticed that when I am thinking about A then appear a lot of good ideas about B.
In dreams happen similar : you create things without restrictions of your model of reality.