readln at end only on windows debug builds