I rework a little how we manage HUD on 2.4.dev, then please update your repository if you work on HUDs.
* I rename files as "hud_foo.ufo" (IMO more easy to manage)
* HUD interface is called "hud" (and not "ahud", cause this "a" is an old hack and mean nothing)
* A HUD window can contain a string node called "hudname", witch is used to describe the HUD in the options GUI (if this node is missing, the HUD is not availaible in the option)
Witch allow us to create a HUD in a pk3, visible in the option GUI to the end user.
----
I reworked it again. Now windows have a new event onScriptLoaded, which mean when everything is loaded we invoke this event. Then HUD windows can register themself to the available HUD lists.
BTW, i rename onInit->onWindowOpened and onClose->onWindowClosed. It is important to update your scripts with that.