Check that $tab->{title} is actually set
More flexible matching on todo text editor window