Small bug fixes but it's broken.

Somehow the sliders are being created with the same start and end values
but I can't seem to work out why. Stu.