added support for dmg_license
better error messages
Merge branch 'devel'