added arrow key input for sliders, style changes and a memory leak fix