add slider for settings; more cleanup