fix some typo's and make sure CL-GL sharing works