Make messages look okay when located outside of site chrome.
Merge pull request #351 from DFurnes/messages-maxwidth

Make messages look better when located outside of site chrome.
Release v5.0.4