Use Horde_String::truncate().
Include parent tasks in labels and only return completed tasks up to a week old as cost objects.