Add a setting for the maxTextLen

Not sure if this is the most correct way to add/use a setting/config, but I needed a way to up the length before truncation.