added controlsUI object, and functions