limit tabview to 500 lines

For #56. This is a quick and dirty fix; ideally we'd want to have an actual object keeping track of these lines, but since for now all we have is DOM elements, we'll have to run `.find()` on every incoming line.

Also I can't test this because of the "can't set headers" thing, so recommend someone testing before merging.