Add more file patterns to .gitignore.
Clean up sources and update dependencies.