This maxscript is a tool to manage materials. You can browse the tree material and get quickly some informations about the material : name, material type, bitmaps etc.
The tree material is updated when a new scene is loaded or reseted. Also, the user is informed when a bitmap is reloaded.