Output in gedit3 working, still buggy (process seems to not terminate).