Broke everything
Tables have headers now.
Table headings work in devices, as does selecting and linking
changed port to 50000
Tablesorting works
Tablesorting code in proper place, still doesnt work
Fixed tab switching table bug.