Added support for whitelisting window titles via regex