tweaks
make a lookup list of onMessageX() methods. use that instead of calling getattr() during onMessage().