Added controls to main window for user defined transfer functions