Fixed again the bug where the last line or two of the log file gets truncated when the dealer is started with DealerRunner.