as he rode past the little shanty where emily had spent the last few years of her life , he refrained from thinking of anything unpleasant , refuting lifeless thoughts that tried to pry their way into his mind , and spying the fresh dirt thrown on top of the grave , he trod on , focusing on the future , denying the spirits of the past access into his present .