Added checks to prevent Assertion Failure

Prevented a complete Kinect reset when a kinect is unplugged, added
check if pointer is still alive when trying to shutdown the Kinect.