First step at sending user events to the gui