thr, dir and brk gui interaction