MainFrm: Improve On Top menu behaviour.