withStdoutLogger flushes on termination.
doc update.
updating doc.
removing warning.
Supporting Windows.