The name of the FBI agent (Frank Morgan) is taken from Frank Morgan, who played the wizard in The Wizard of Oz (1939).
The title is from the lyrics of the song "Windy" written by Ruthann Friedman and recorded by The Association in 1967.
When Sam asks Morgan "Who do you work for?", Morgan replies "The Dream Police; we live inside of your head." This paraphrases the first lines to the song "Dream Police", by Cheap Trick, released in 1979.