improve thread locks, try 10 insrets and remove

still got the Attempt to free nonexistent shared string 4
and Unbalanced string table refcount: (1) for "8" during global destruction
warnings