Menu working

replaced StackArray with pointer to parent SubMenu, replaced structs by
objects (SubMenu, MenuItem)