Implemented short words feature, cleaned up some things and fixed some other things.
Added license text.