Further work on getting buttons/sliders to work, incomplete