Thanks for the pointer.

I have this working now, and for the record, the first string parameter is necessary, its the menu text. Without it you get no menu.