static void withThoughtSpace(ThoughtSpace ts, Runnable r) { thoughtSpace(ts); try { callF(run); } finally { thoughtSpace(null); } }