sunday evening update

1. fix bug in Pioneer AVR discovery code
2. more event group management