Make .gitignore byte identical with other projects.
Use precompiled headers, and other minor fixes.