Fixed msg and proc snippet arguments

* The `msg` snippet didn't output anything because the 2nd parameter wasn't closed.
* The `proc` snippet worked, but showed the 1st parameter braces in the output, as the `$` was inside them.