Fix for earlier attempt to move tie (console wasn't being flushed properly, only the log stream, in the tee stream).