Add FlashMessageComponent

And use that everywhere we had hard-wired stuff.