Added TopMenu instance as parameter (mostly to make use of TopMenu->buildMenu())