General cleanup of some vars/spacing/jslint stuff
Abstract finding the table / Put headers in thead
Add link to the history in the user menu