Add newline.
Add "let" and "set" keyword prefixes.

This makes statements a bit easier to parse.
Style. Try replacing some "$" operators with "." operators.