Better pmd error handling
Working version
Fixed build
Updated ignores