Added settings consts.
Added mouse events to get cursor coordinates.