Added optionVars to control GUI fields.