Thank you and sorry for the late reply!
you're absolutely right on accuracy formula being off, it should be easier to hit when they are close, otherwise it looks bizarre like in XCOM missing point-blank shots.
The second part sounds like a bug & I'll consider gameover triggering as soon as the MC dies, it's just that the whole part is gameplay-wise undecided in a way.
Arigathanks for playing!