cut long names and titles (fix for #388)
Merge pull request #435 from baev/388

Cut long names and titles (fix for #388)