Fixed some parts of the error class

- Added ability to suppress errors
- Fixed styling of error message box