improved user messages for errors, notices and warnings