Another way of handling the huge "Jon taken prisoner instead of being killed immediately" plothole
Hearing Drogon's anguished roaring, Grey Worm and a squad of Unsullied enter the throne room.
They see Dany dead and begin to close on Jon, with murderous intent.
Then Drogon lets out another roar, directed at the Unsullied and clearly meant as an protective act toward Jon. They all stop their advance except for Grey Worm, who only pauses for a moment, then charges toward Jon, spear extended for the kill.
Drogon lights him up. The rest of the Unsullied and Dothraki choose to accept Jon's authority instead of being burned.