I was just having the idea that Kumoko and D are the result of a bad transfer D had to perform as the explosion occured.
D used that spider to keep some level of control in that world,,and the spider now Kumoko inherited some of D's memories and intellect/character.
I know, silly idea.