Reorganized Kinect sensor initialization.