Debuging removed, clcik handler fixed

Debuging tools removed, mouse event handler bug fixed.