Main frame menu use actions instead of using old menu bar manager.