Minor refactor

Many thanks to osse for utilizing g: as a dict with get() to clean up
handling default g:var settings.

And many thanks to mhi^ pointing out the [N] in :{n}new