small improvements in FrmMain