Improve .gitignore.
Resolve dependency issues.