Hello. Pressing [X] (close window) button in windowed mode closes the game without warning. Sometimes I press it accidentally (don't know how but it happens).