Improve cursor behavior

- The cursor doesn't turn into a hand for non-url parts of a word
- Removal of unneeded variable str
Merge pull request #719 from Farow/pull

Improve cursor behavior