Update README.md

Minor fixes, added some parameter descriptions. Added emailing the session text in the first example as well as using emit to trigger event handlers.