Added a UI Slider.
Also made group count checking.