Added improved output buffering
Authored by: artyom-beilis 2015-11-18
Parent: [r2315]
Child: [r2317]