Improve some event handler code (dragging etc)