I've gone through every function and tried to optimize as much as possible by doing the bare minimum number of operations within the locks. The latest push included these updates.