updated example for recent changes in the core code
fixed browser requires
removed debug code
fixed inReplyTo functionality for messaging and added event and listener info
added record validator