Fix main panel menubar
wip commit