Change PromptMode to return Deferreds.

Slightly cleaner syntax all around. Updated references to it throughout.