Update .gitignores and fix a small bug on windows
Merge branch 'master' of github.com:alarner/BtNetwork