Clean-up of frm_maim_designer.pas.