Improved error displaying.