styling and fine-tuning of error message display