Improved Multi-Threaded Support
Ok, not really a functional change. Definitely style over substance. I have switched to a context manager to lock and unlock around the context manager. A benefit is that the code is a bit more readable and a bit shorter. But thats it.