So - who's the Doctor's mysterious assailant? Well, as I gave the game away last week that - despite all the talk of a possible intruder in the TARDIS - only the regular cast appear in this serial it won't come as much of a surprise that it's one of his companions. Ian, in fact - an extremely crazed-looking Ian, who falls over a tad over-dramatically when the Doctor pushes him away.
This event has only strengthened the Doctor's conviction that Ian and Barbara are attempting to sabotage the ship, and he won't listen to Barbara's insistence that something much stranger is going on (a note on TARDIS nightwear: Ian has acquired a perfectly ordinary looking dressing gown, while Barbara is dressed in a garment the same as Susan's: they look like a pair of lady monks).
Susan's inclined to agree with her grandfather that Ian and Barbara have been behaving strangely (somehow Barbara forebears to point out that she wasn't the one menacing people with scissors). But even she's shocked by his decision to throw his "enemies" off the ship, whatever might be waiting outside the doors. Especially as Ian's semiconscious ravings suggest that he was simply trying to stop the Doctor from being electrocuted by the control console.
The Doctor's at the most unpleasant we've yet seen him, adopting a hideously sneery tone of voice as he boasts about how valuable his ship is and hustles Ian to his feet prior to being shoved outside (poor dazed Ian, victim of the Doctor's sinister nightcap has no idea what's going on).
The Doctor's cut off mid-rant by the sound of an alarm. All the lights on the ship's fault locator are flashing, a sight that fills him with terror. But now he realises that Ian and Barbara have nothing to do with the strange things that have been happening, and shamefacedly entreats them to trust him. Hartnell plays the old man's lightning turnaround brilliantly.
The fault locator's meltdown means the TARDIS is on the verge of disintegration. "We're on the brink of destruction!" exclaims the Doctor, merging this episode's title with that of the last (actually Hartnell stumbles over his line, making it the brink of disruck-destruction). He's realised that the ship is threatened by an unknown force, though he doesn't think there's another intelligence aboard. Another explosion rocks the control room. The lights go dim, but the central column of the console glows menacingly.
The Doctor explains that the ship's power source is under the column, and it looks like it's about to escape. If it does they'll be "Blown to atoms by a split second!" (I think that's a fluff, but I think the idea of deadly time leaking out sounds quite good). "Can it be possible, then, that this is the end?" he muses, estimating they've got about 10 minutes left. Barbara surely speaks for the whole audience as Susan starts getting hysterical.
Barbara starts to wonder if the strange things that have been happening are clues the ship's been giving them to help avert the catastrophe. At first the Doctor seems affronted by the idea his ship could think to do this, though he admits it has a kind of computer intelligence.
The Doctor announces he's going to try opening the doors, and sends Susan and Barbara to report what's outside. But he admits to Ian this is simply a ruse so they're not aware of when the ship's going to explode. The Doctor, a bit late in the day, has decided to try bonding with one of his companions, asking Ian to stand shoulder to shoulder with him as they face the end.
The scanner once again shows the countryside, but the doors open to show the blinding white void that's really outside. The Doctor notes that, when the scanner shows a pleasant scene, the doors open - but they close when the image is a hostile one.
Now the scanner shows an increasingly distant view of a planet, culminating in a flash of white. Suddenly, the Doctor realises what's happening: this is the journey the TARDIS has made. The ship wasn't destroyed in the explosion, and it's been trying to tell its occupants about it.
Hartnell gets his biggest dramatic opportunity in the show to date now: a long monologue, explaining exactly what's been happening. He clearly relishes every moment of it, but it's quite an agonising watch. You're willing him not to muddle his lines, and by George he doesn't.
It turns out that the Doctor used the ship's fast return switch in an attempt to get Ian and Barbara back to Earth - but it got stuck and propelled them all the way back to the creation of the solar system. The ship's been trying to tell them what happened, but has only been able to do so in the most unhelpfully oblique ways possible. Note that the Doctor has clearly written "Fast Return" on the console to remind himself what the switch is.
The Doctor fixes the switch and all is back to normal. But Ian, and especially Barbara, are still a bit miffed about how the Doctor's treated them.
Realising he's gone too far this time, the Doctor goes and apologises to Barbara, who's now acquired a polo neck jumper that will stand her in good stead for the rest of her time on the show. This is a beautiful little scene, the Doctor having undergone a complete change of heart since the start of the episode (writer David Whitaker provides a clever callback to the Doctor's earlier rant about his "valuable" TARDIS by having him tell her how valuable she is). These two are positioned here as the show's most crucial characters, the intuition that helped Barbara to guess what was really going on the counterpoint to the Doctor's cold logic: "As we learn about each other, so we learn about ourselves," he tells her, and extends the hand, well, the arm, of friendship.
The ice may now have definitively melted in the ship, but it's absolutely freezing outside. Barbara dashes out to join Susan in a snowball fight, while Ian models a "very chic" Ulster given to the Doctor by Gilbert and Sullivan (the very first example of the Doctor's habit of historical name-dropping).
We end on Susan and Barbara's discovery of a giant footprint in the snow...
The Brink of Disaster is probably the only episode of Doctor Who to share its name (give or take a definite article) with a Lesley Gore song. Other than the name the main thing they have in common is that they're both very strange.