Sorry about all the FOO. I can relate.
I have also learned a hard lesson from dreams. Let's say you're having anxious dreams near the end of your sleep about how late it's getting. Surely work is half over by now. The train has left without you. You missed your croquet match hours ago. You drag yourself out of bed and toss on some clothes to find that the rooster isn't due to crow for two hours yet, but here you are half dressed in the dark.
Naturally, if you dream that work went really well, you had a great train trip, or you won your croquet match, then you've overslept.