Tidy up display of error message and recent links