Added error suport through window to the Text Viewer.