tidy up touchpad code
tidy up touchpad code
control panel logic corrected set live view added