Added Barnaby's awesome truncator plugin and changed changed name of it's helper functions