Added query config section.
Saving and restoring settings state from form.