With 'The Story and the Engine' we have, more or less, a remake of the sixties story 'The Mind Robber', wherein a writer had been trapped in a Land of Fiction, and this self-styled Master of the Land of Fiction wanted the Doctor to take over his role and position there so he could escape, on the basis that the Doctor had a lot of stories to tell. The twist being that the Doctor had to be careful not to 'write' himself into any of the Master's own stories or he would become fictionalised and could then never escape.
Well, I was totally expecting the Barber to want the Doctor to replace him here, but that didn't happen. Instead we get a rather nice little story within stories, where the Barber is an ancient of some sort, the power behind the gods we have heard of as he refined their stories so that they could be retold and thus keep the gods alive (very much shades of Neil Gaiman's American Gods), and he uses the barber shop as a method of capturing people with good stories so they can tell them while he cuts their hair (which instantly regrows allowing it to then be cut again). Why he is doing this is to feed 'the Story Engine', a metaphysical creation of a heart within a brain in the back of the barber shop which is itself being carried on the back of a giant spider. It also somehow powers the spider.
There was so much story thrown at us here that I couldn't jot it all down or get it all, so I'm not sure where the spider was trying to get to, but the Barber's endgame is to destroy the Story Engine and thus the gods with it! But this would cause much disruption and so the Doctor needs to find a solution.The whole thing though is completely tied up with the Doctor's own adventures. There's a woman there, Abby, the daughter of Anansi (the spider god) who the Doctor once won in a bet and then rejected (this was when he was the Renegade Doctor, and we see a nice cameo from Jo Martin as that Doctor). Also, the Barber has tales of rocket ships ('The Robot Rebellion') and a cinema ('Lux') which suggests that these were stories rather than 'real' adventures. Mrs Flood cleverly appears in a story the Doctor tells about Belinda ... so is she something in this fictional realm also? Belinda meets Poppy from 'Space Babies' in the market outside, further suggesting that the Doctor has been walking in 'fiction' for some time now.
Rather than the stories and characters doing battle as in 'The Mind Robber', here the Doctor is for some reason linked to the Story Engine (as the Doctor was linked to the Master Brain in 'The Mind Robber'), and we see clips from many of his past adventures, past Doctors and so on ... and the sheer number of them causes the Engine to overload and explode ... meanwhile the Barber sees sense and opens the door so his captives can escape, similar again to 'The Mind Robber' where the destruction of the Master Brain causes all the 'captured' fictional characters to go their own way.I found this episode well made and interesting, far more cerebral than perhaps the previous episodes in the season. It has a lot to say about the nature of story, and the nature of gods and how to survive they need the people to sing their songs and tell their stories ... and should we be drawing a parallel with the Doctor here that he needs the fans to sing his stories and his adventures for him to survive? I don't know. The performances were all first rate, but I struggled to capture who anyone actually was - what their character names were. I probably need another watch through to see if I can get them a second time.
The plot too was muddled and hard to follow. I'm not sure why the TARDIS convulsed every time the barber shop door opened and closed and the Story Engine's power supply dwindled. I'm not sure why Abby had to intricately create the map for the labyrinth behind the barber shop into the Doctor's hair (another call back to 'The Mind Robber' where the Doctor has to navigate a labyrinth). It was a nice touch though. Also, while the Doctor claimed to have visited the barber shop before to see his friend Omo, I assume it wasn't at that time a collection point for stories for the Engine? So when did it become that? When did the Barber take over ... and what was the Barber using as a collection point up to then, given that this spider machine thing, the gods and the stories had to have been around for centuries!Despite this, the episode is visually rich, and fascinating in its blending of stories and whatever 'reality' is at this point. Elements may or may not become more important or return later in the season, so it's hard to try and figure out what the endgame might be for all this ... but there's certainly elements of messing with the Doctor's timeline and his 'story'. The ongoing mysteries of Mrs Flood and Belinda. Hints of greater powers being at work. And of course perhaps more of the pantheon of Gods. It's all building quite nicely.