Replace calls to exit(..) with an error return value.
When updating a library remember to: * Update the README.blender with the corresponding version.