Improve docs and solve Windows outdir issue