The supposedly dead ostrich opening its eyes is a reference to the Giant Chicken fights in Family Guy, when Peter wins a battle with Ernie the Giant Chicken and Ernie awakening. The same music is played.
The scene in which Bart has a Chinese food box of worms could be a reference to a scene from the 1987 film "The Lost Boys."
This episode explains that Lisa has a fear of pigeons, yet in other episodes featuring pigeons, Lisa didn't show fear of them. She even thanked one in "Who Shot Mr. Burns? (Part Two)" while trying to clear Homer of trying to kill Burns. -That pigeon was relatively far away from her.