workaround for premature process.exit issue
more fixes for Windows support
0.2.8