Added mouse control.