An interesting game! I do belive though that if you freeze to death the game gets stuck?
Also I'm wondering do the time counts or just the amount of commands written?
Yea, the game doesn't have a way to restart other than reloading the page. So if you freeze to death you have to reload the page.
The game is based on time, not commands - heat and fuel both drain at a certain rate per second. So you can't just afk while mining.