remove priority from dispatcher
fix dispatcher bugs
add event stub for testing
begin dispatcher testing