Fixes a bug in the log window that was apparently caused by a tab character.  Need to find out why this breaks logging.