reverted to useCapture=false by default
added comment and renamed matchesSelector()