Re Westworld: The theory of consciousness explored in the show is explored in more detail in Jaynes' The Origin of Consciousness in the Breakdown of the Bicameral Mind, as alluded to both in the show and in the title of the final episode. I've just picked it up, and it's a pretty interesting read so far. I've also noticed that a lot of little details from the book used in the show, such as referring to memories as "reveries" at points, and talking of minds as "hosts" of consciousness. I may need to re-watch the show after finishing the book!
I found a pdf version of the book here if you are interested. http://selfdefinition.org/psychology/Julian-Jaynes-Origin-of...