It's not that the script has plot holes so much as the made up science for how time works has logical holes. Like, if you listen to Data for how long until the breach destroys the ship, and do the math, we should be able to see it visibly moving.
But, dude, that's like the least important criticism ever leveled at a TV episode. How could something like that lower your enjoyment of the episode?