improved viewer for warning messages