some minor bugfixes

-license encoding fixed
-caught some NPEs
Merge remote-tracking branch 'origin/ribbons' into ribbons