Add path tracer to user interface, and implement progress callback.