Work on porting to OpenTK