Submenu example in documentation hangs BTT

When trying the "Basic scripting and a submenu" example in the "Floating Menus / Widgets" section of the documentation, BTT hangs and refuse to start again. I had to delete the Library/Application Support/BetterTouchTool folder to recover.

This is on 5.294. When trying to update to latest alpha, it gets un update error: "The update is improperly signed and could not be validated."