I had the same problem when i was creating my mod menu aswell, and i realized what the problem was.
You have misnamed one of your sub menu titles.
Go through your submenu's and make sure you have corrected the titles.
A SubMenu mistake for Example:
self add_menu("SubMenuTitle", "Your Menu Title", "Verification Status");
self add_option("SubMenuTitle", "God Mode", ::ToggleGod);
self add_option("SubMenuTitl", "Unlimited Ammo", ::Toggle_ammo);
You forgot the "e" and your mistake was here: self add_option("SubMenuTitl", "Unlimited Ammo", ::Toggle_ammo);
Correct the title with the 'e" and you shouldn't freeze for that menu.
Also check to make sure that your menu name is correct for that sub menu aswell.