Ah, now I know why my game suddenly ended.
3 years ago (+1)
The newest build, 1.0.2, no longer quits when you press f12. Leaving the game is now an option in the menu accessed by pressing esc. You can also delete local save data and start the story from the beginning from this menu.