Improvement: Real-time output buffer (newline flushes will be showed into output)