(If memory serves me correctly,forgive me if this information is incorrect. I'm pretty positive this information is only partially true.)
Ghosts originally was the demo Family Thing written for Addams Family Values that Michael was scheduled to cameo in. Due to the 1993 allegations,Michael was pulled from the film and production on his part in the movie and the Family Thing song was scrapped,only now existing as an incomplete demo. The short film Ghosts actually started at this time as part of the cameo,with the filming of these scenes being exactly like how Ghosts would be in 1996. However the production was halted after the 1993 allegations came out and before Michael went into rehab for painkiller addiction. Family Thing would be reworked into Ghosts in 1996 for the short film and eventual inclusion on the Blood On The Dance Floor album in 1997,along with Is It Scary. 2 Bad already appeared on the HIStory album. Several different clips have leaked in the last couple years of the original concept of Ghosts in 1993,with a particular scene of Michael getting very aggressive and vulgar with the town citizens and a different mayor (not played by himself).