Disable shadows when only 2 TMUs available. Clean up some other rendering code. This was SVN commit r8882.
This was SVN commit r6391.