Add LICENSE(.txt), rename variable and fix a bug in CleanString

I dunno what you think but I like my code.