Fix issue setting/restoring compiler settings
Work around Vim bug with initial space in efm pattern

Closes #332.
Address trailing whitespace in generate message