Log errors, add dependency
Merge branch 'master' of github.com:ozten/d2g