Not a problem! I'll rerun through the game and probably beat it this time. I'll keep you updated if there are anymore glitches.
I've now made a few modifications to the movement and turn order code and uploaded a new version of the game to the page. This should fix the glitch but if it does happen again let me know! Also let me know if you do manage to beat the game too!