threading updates, memoryview now thread-safe