Note that the code won't work in 100% cases. Depending on scene layout sometimes the help icons could be hidden behind some scene entities. A cleaner (but less generic) solution would be to add a special region to the scene. The region would be all the way down in the node list, and the script would stick the help icons to this region (using the StickToRegion() method). It would assure that the help icons are always on top.
Secondly, the script only iterates through scene entities. If you loaded an entity dynamically at runtime, it wouldn't get the help icon. WME now provides a way of iterating these "free" entities, using Scene.NumFreeNodes and Scene.GetFreeNode().