What Were You Doing in My Dream?

Dreams can be weird, original, and surprising. Who exactly is in charge of them?