Changing projects sometimes changes the window title to "project.html"

When changing or creating projects, the window’s title is usually set to the project name. Sometimes, however, “project.html” becomes the title instead.

It’s not totally obvious what makes this happen, but it seems to be the first (and only the first) project change or creation after starting the application (so the title is initially correct, incorrectly “project.html” after the first change, and correct again after every subsequent one).

Thanks! Should be fixed on Git master.