Welcome to Shorten!
Some of this code is the work of DougA. Cudos to him!
If your the type of person who likes legal things (heaven forbid), than take a look at the file titled LICENCE. It's MIT.
If you need support or would like to be good and report a fatal issue, please drop me a line at email@example.com. Thanks!