change names, fix some bugs, minor GL/D3D fixes, update tests, fix effect files, output a little more debug information