modified: bin/gui.pl

program close when main is the only tab. Entry box is now disabled Resolve #22