Some log in improvements.
Fixing dependencies.