Add missing </th>s
Implement team removal
Remove unused variable