Fix output window logging.