Fix NPE in console
Extracted FunctionKernel out of CLFunction (to ease transition from CLFunction to CLReifiedFunction)
WithResult cleanup