An event handler system to be used with any thread-safe application