Gui stdout writes in real time