Added needed functions to work with kinect applications (simple viewer example and people detector)