Fixed the shutdown and startup sequence

It is now possible to initialize more than one instance of OculusRift
without crashing.
Fixed typo