Some useful warnings added

Checks for most common misconfigurations
Merge remote-tracking branch 'origin/master' into devel