Experimental mipmap-using code. Works nicely - wall textures are now basically perfect - but rendering performance takes a serious dive. But then, I'm using the Mesa renderer, so this is no real surprise.