static new ThreadLocal thoughtSpace_byThread; // get for current thread static AIThoughtSpace thoughtSpace() { ret thoughtSpace_byThread!; } // set for current thread static AIThoughtSpace thoughtSpace(AIThoughtSpace ts) { thoughtSpace_byThread.set(ts); ret ts; }