Improved the design of errors boxes.