PDFLPT: More compiler warndings and cleanups
Merge branch 'master' into KDP