What do you mean by "but not properly"? If your character actions run out, it restarts the level but still loses the time. If the time at the top runs out, you should see an end screen after some explosions (self destruct) and then get prompted to restart. At least that is the intention. I still have a few hours before this jam is due. I'll look into it if there's a bugged out level.