fixed bug with tabtitles when new or untitled file