This one can probably be done better. Right now, this function is only called when the frame type combobox is changed, and the only reason it's called is to get the new settings and apply it to ```frameType```.