Using model transformed normals for light calculations now. Disabling textures if texture mapping isn't enabled now. Forced target alpha to be written as 0xFF to workaround broken buffer management.