bugfix test

first time user of github, fixing a small bug where untitled files would only change language of file name once.
in gui.js, about line 740