bin/gui.pl: closing tab corrected