fix OptionButtons and Frames in frmMain