Added a few more events. Refined the threading classes.