refactoring towards adding non-track params to control panel
max colour distance adjustable from control panel
max colour distance restored graphically when params loaded in control panel