- quiet some warnings - set some functions static - replace materialbyname with generic BLI_findstring call