Row selection improvements: no iteration, easier to click link

Three improvements to selecting a row in this commit:

* Don't iterate over all the rows upon selection
* Previously you had to hover the table cell first and then go left to click the link. Now you can hover them directly or tab to them (if your browser supports tabbing links).
* IDs cannot contain space characters, so I changed those to `_`