Do not double-force table classes, remove excess wrapper
Clean up counters generation, add download link in tfooter