Some fixes + added LICENSE.

I know nobody cares about my silly license, but it makes me feel
important. OK?!