Voodoo fix for fragment state crash. Auto-capitalization of messages.

And a commit from @rod-hynes's repo.