Change "untitled window" detection heuristic