Changes event handling in TBStateMachine to synchronous dispatch onto serial queue.