Bugfixes, windows batch script.