[Core] Refactored parts into MainWindowMenuManager.
[Core] Call AddMenus/RemoveMenus() directly.
[Core] Add visible dock toggle actions to View menu.