Strange pause after running gedit from regular text terminal window.