bug fixes on the library without kinect and openni stuff