fixed: frmMain layout optimization