Do not preselect character set combobox for new/edit fields
Consolidate code for getting select query in querywindow