This is how Twilight helping Apllejack and Twilight's vision goes in Thunderwing Returns.
[We see Twilight helping Applejack]
Applejack: Thanks for the help, Twi.
Twilight Sparkle: No problem, Applejack.
[Twilight's eyes turn purple as she gets a vision: Thunderwing betraying Megatron]
Thunderwing: Finally! I am complete!
Megatron: You owe your life to me, Thunderwing. You will call me master!
Thunderwing: I am the envoy of Unicron the Destroyer. Unicron, who summoned me across the vastness of space. Unicron is my one and true master! You, you are nothing.
Megatron: WHAT?! WE HAD A DEAL! I GAVE YOU BACK YOUR FREEDOM!
Thunderwing: Consider this a show of gratitude!
Applejack: Twi. Is something wrong?
Thunderwing: [in Twilight's mind] If I am to return to my body, I must first restore its functionality. How did I escape annhililation?
[He has a flashback which shows the Dark Energon meteor where he was entombed in]
Thunderwing: Of course. Dark Energon.
[The flashback shows Megatron looking at the Dark Energon meteor and grinning]
[Starlight and Trixie watched the whole thing]
Starlight Glimmer: You see that Trixie?
Starlight Glimmer: Let's go.