More work on dynamic rendering.

Fixed cartoon shading problem, hooked up rendering widget, added LUT.