Matcher constructors for ShellWithTextIsActive and ShellWithTextIsAvailable
TextMatcher refactoring