Rip out #if 0 code.

Also, remove homebrewed texture scaling and mipmapping.
Rip out QUAKE2 and GLTEST code.