SVN commit 575928 by staikos: sort all of our locks by pointer order, and don't lock recursively past primitives. This should fix the remainder of the deadlocks M +1 -49 libkst/kstprimitive.cpp M +0 -7 libkst/kstprimitive.h M +115 -196 libkstmath/kstdataobject.cpp