Refactor code style from if(): while(): fncall( x ), to if: while: fncall(x)
Fix double spaced output on Windows