I tried your code. I don't get the bad menu entry. If I selectively add the sub menus (using #if 0) slick is fine with action, parametric, dynamic, static, binding submenus. If I then include the collection theme, it doesn't make it into the menu tree if you inspect _ccv_Code_Theme_srh_mnu with the menu manager.
The first time I tried the above I got the stack you're getting on exit. After starting again with a new config, the collection and relationship sub menus don't make it into the menu - but slick doesn't crash either.
I'm guessing slick doesn't like the sheer size of the menu tree you're giving it.
(using Win 7 64).