draw process output inside window