Adds license and support for spaces in the shareString

Fixes #2