shows messages and errors.