* replacement of 'long' in string code. * palette removal in V_GetColor. * fixes to DShape2D buffer management.
* the palette shader was not bound. * the palette textures were not bound. * palette mode still used regular lighting on top of the palette emulation This works a lot better than before but is still not complete.