Do not add blank tabs to closed windows menu, fixes #325