Dynamic top bar menus + fixing some dependencies.