style tweaks and bug fix for using first visible instance of target selector
Merge pull request #42 from tracelytics/first-visible-instance

style tweaks and bug fix for using first visible instance of target sele...