Added event interface for further threading possibilities.
Added "br_wait_for_event(br_event*)"