Priority error message fix. Using the fix @neezer put into issue #505 verbatim.
This will grab the highest priority error message and only display that one.