WARNING: This is total hacking at play here.
Now using the perspective matrix direct from the Oculus API itself, which works for the distortion etc but this clearly fucks our terrain and atmosphere rendering.
The GUI rendering is toast, I haven't even begun to look into getting that to work.
Set the distortion shaders default colour to black for video recording.
Switched to using raw pointers for the Rift now. Shuts down without exceptions or crashing.