Fixed a buffer overflow bug with Publishing.
Updated Readme with Publish example.
Adding Data Recorder example.
Updated simple.js example with publishing.