All of Dono's answers are...
Internally consistent within setting and using the available body of lore, both Legends and otherwise.
Quite frankly, any film ever made that was meant primarily as a form of entertainment is going to have the plot fall completely part if put under intense scrutiny. Lord of the Rings is infamous for "why not just use the giant eagles?" since the day it was first published decades ago, and it's deemed a literary classic and the blueprint for fantasy fiction. The Godfather films fall under a similar problem, yet for some reason people consider those to be the best films ever made (I consider them complete and utter crap not worth the film stock used to make them). Casablanca, Maltese Falcon, Raiders of the Lost Ark, they all fall part if you try to force an external view and the viewer's much greater base of information to draw upon. Hell, the entire Star Trek franchise crumbles like a sand castle hit with a tidal wave if you start applying actual real-world logic to it.
To quote the Mystery Science Theater 3000 Mantra: "It's just a show, you really should relax..."
Or perhaps more appropriately, Bellsario's Maxim: "Don't examine this too closely."
Bottom line, the Star Wars films are a collection of stories put together in the hopes of entertaining the audience and making some money for the rights holders. Any actual science that happens in these films is a happy accident. They're meant to tell a story and ultimately to be fun, nothing more. George Lucas was more concerned with the story than the kind if piddling details that some folks insist on picking at.