One difference between a compiled drop down menu and and the default CU menus seems to be that the chart id is used for the menu name. The id doesn't seem to allow spaces in it, or at least the compile fails if I include a space. So where a default drop down menu can have an item "Space Here" with a compiled chart you could only call it "SpaceHere". If I'm wrong about this then can you please suggest what I'm doing wrong?
If it's correct that an id can't have a space in it, then would it be possible to make a change to the code to allow conversion of another character found in an id into a space, e.g. if the underscore character was the character to be converted an id of "Extra_Space" would be added to the menu as "Extra Space"?