handleEvent now returns a bool indicating of the event was used by the gui or not