Turned on mip mapping for the current test texture.
Cleaned up some more code.