minor layout fixes to avoid empty divs when there are no errors and a bit of styling.