Added a bunch of patches
Updated gitignore