finished adding ability to select text target. Fixes #6.