Cutting length on history table so it looks nice if string is too long