Change protoype of HandleEvent from returning void to return unsigned int. The number returned can be use to detect if the SFGUI have used the event or not