Fix copycontructor and opeator= for UserEvent
Rename UserEvent getNumber to getUserEventValue
Fix event handling to handle all events before drawing (Fixes delayed handling)