Move menubar code into class initializer