Update gui.pl

Resolve #11
Merge pull request #17 from Powiee/patch-1

Update gui.pl