Add entrypoints, headset backend code, fill in the Activity, and add various special cases to account for the asynchronous render loop, lack of sRGB support, and OpenGL state resets.