Update readme with todo items, rename truncate to safeTruncate, and clean to collapseWhitespace