Initialise configuration and preferences in query explorer.
Percent by is always present; None by default.
Don't worry about unnecessary modifiers.

It'd be good if we could be nice and trim with our queries since it makes it
easier to debug, but g-e is using POST to get the actual data so it's not that
relevant.
Don't do funky things to avoid nesting.
Remove redundant code.
Remove needless hack; strings work just fine.
Don't try defaults unless the config is missing.