added check if openni device is successfully loaded