Capture vtkOutputWindow Error and Warning events