Add a couple of bat files to run stuff on windows.
Fix some issues and add documentation.