Finished middle tab generators

Also fixed the course dropdown in task edit popup
not showing the right class