Better error reporting and slf4j version build error fix.

Improved error reporting, see Issue #7