thread bug fix + base event classes