Redirect stdout and stderr to GUI window.