Changed mouse events

Restructured mouse events.
Cursor changes on mouse events.