How Jon Pertwee was almost not the Third Doctor