Added Oculus Rift support, folded window resizing into main file