limit tabview to 500 lines
fix typeerror
Merge pull request #57 from cjstewart88/bb/maxlines

limit tabview to 500 lines