reverting change to core and moving setting callback context from freenect ctx to device