Sai. I think spirits stay around, at least for a little while according to Shintoism. The story doesn't seem very close to this idea for me. I think Buddhism had come to Japan in Sai's time, at least to the ruling classes, and there was belief in an afterlife (Heaven is mentioned in 'The pillow book').
Re: The End