Hamlet's worms and Jesus as Worm in Ps 22 and the Ordinary Gloss

Some may feel squeamish when Hamlet speaks of how the body of Polonius is at a feast, not where he eats but where he is eaten - by worms (4.3.19-27). Scholars note that this is a Eucharistic analogy [1]. Worms have had interesting meanings since medieval times. The Glossa Ordinaria (1480), or Ordinary Gloss, collected insights from many bible scholars. I have compared Hamlet's sea voyage to that of Jonah; it turns out that in The Ordinary Gloss on the Book of Jonah [2], a worm plays a key role: While Jonah is angry and hoping still to witness the destruction of Nineveh, God makes a gourd plant sprout up to give Jonah shade in the hot sun (a mercy). Later God sends a worm to eat the gourd plant. This frustrates Jonah. Reading figuratively, ancient commenters viewed the gourd plant as Israel, which for a time flourished, but was eclipsed by Christianity converting the Gentiles, a new "chosen people." Jesus in Matthew 27:46 and Mark 15:34 quotes Psalm 22 from the cross, ...