Here is the patch that fixes all described bugs: default setup refresh rate is set to 60hz, windowed mode works properly, floating point conversion errors are fixed and results are now shown after the player's death.