fix the weirdo detaching thing that is a mystery & add deadlock detection
so heres module attachment and movement, but its a little broken and also squishy joints and also no tree on the client