Changed blendmode for envmap entity shells.
Added z-pass shadows (Doom3 GPL method) when r_shadow_zfail is set to 0. Removed direct writes to value field of r_lightlevel cvar. Replaced Com_sprintf() calls in console drawing that fed a buffer into itself with Q_strncatz().