tweak space handling

* eliminate trailing whitespace
* allow single space buffers in parens and brackets
* single space between args list and function arrows