Updating mingw pthread linking, also gitignore and readme tweaks