attended to some deprecation warnings

Hi,

I took the liberty to attend to some deprecation warnings in the hope that you'd find that useful. The only change that is visible to users of the plug-in should be the change from `Project.Setting` to `Def.Setting` because the former caused a deprecation warning in the dependent build.