Clean up some of the JS code that shouldn't be included with every page.
Applying DataTables to the table.
Tried to make the table output as minimal as possible.
Adjust the default sorting and make the last column, which will get action icons, not sortable.