Fix quoting of arguments in event handler script
Minor code clean up
Merge pull request #5 from rgov/master

Fix argument escaping in Messages event handler