Using code from https://gist.github.com/i-scorpion/2948136/ to fix a table header in place
Fixed thead background color and fixed header cell widths.
I used the fix from https://gist.github.com/i-scorpion/2948136/#comment-935170 .
Added comment on fix I included
Using select_related instead of prefetch_related.

select_related is all we need and prefetch_releated gives a 'too many sql
variables' error. So the choice is easy.
Made more table headers stick to the top of the page when needed