if you have issues, that the level restart is screwed up, there is a timer somewhere that accommodates for dropped frames, so the game always runs at regular speed, even if you only had 5 fps or less.
You need to start this timer after the function that creates the insane lag spike.
Also I...