Put in a few sanity checks.
Had MIT license confused with modified BSD.