- exceptions in the __init__ functions were not being checked for and segfaulting - avoid creating a new BPy_StructRNA instance per function call, use the existing one if the type matches.
- exceptions in the __init__ functions were not being checked for and segfaulting - avoid creating a new BPy_StructRNA instance per function call, use the existing one if the type matches.