Added JSON and a few OpenGL fixes (0.5r10b)