Make current space thread local. Closes #7.