Fixing entities

1) thanks for verbosity hint
2) asked sat6 devs, most of the names are char[255], meaning, that if using utf, that has wider characters, generated names needs to be much smaller, so changing to 100

white space inserted should be removed