adapting the code to the updated error management classes
Some black magic with threads so JPC queries encapsulating JPL queries will not have the same restrictions regarding cursor operations executing in the same or different threads (as it currently happens in JPL queries)