Fixed [gl.clear] and the event ticker

now along with keyboard events we have mouse events.