Made linkification with GET parameters work properly

I also added a couple of comments so that this reads nicer.  Before and after pictures:

Previous: ![](http://i44.tinypic.com/llhkz.png)
Current: ![](http://i43.tinypic.com/2w5vkuu.png)
No GET params: ![](http://i44.tinypic.com/2uy1w6a.png)