* lock mutex on a per interpreter basis instead of global

* Add a version, callable from the tcl script for checking features

