Changed: LoggerThread behavior: not daemon anymore - log flushes all
pending log messages then waits 100ms before it dies. More log messages
restart the thread. This ensures that all messages get logged, always.