Changed how general error messages are displayed