rewrote a helper, takes any string and a max length to truncate strings too long

moved it to a dedicated helper library file
added a bit to table css
minor fixes