Deleted old commented code, moved UI handlers to the end.
table object can now update itself, making tableUpdater obsolete!
Make sorting work with new table data structure.