XY location sliders

Added XY location sliders, improved location setting code.