there were plenty of ghosts here - from the ghost of ugly pete , a prospector who wandered the night looking for a replacement for the head he 'd lost in a mine accident , to black maria , who appeared to men at the moment of their deaths .