In literature, when all hope is lost and then there's an extremely unlikely plot event that saves the say at the last minute (as my lit prof put it "when God comes down in His spaceship and saves the day"), this is referred to as a Deus ex Machina.
I have noticed in a number of books, the author attempts to insert pathos at the last minute by having some horrible event happen right after the day is saved, just so it feels more tragic. The end of Young Sherlock Holmes and The Horse Whisperer are good examples of this. I resent them doing this at the last minute for no good reason. I propose dubbing this device a Satan ex Machina.
Also, I went to a nudist colony this weekend.