Fixing bug where scripts and stylesheets included multiple times

Also simplifying the table-controller code even further. Most of this
removed code was just defaults that need not be specified.