improved performance

availableEvent() and sendEvent() now do their message reads a bit more
efficiently. Advanced example sketch started.