add padding next to th icons
fixed bug where class names could have disallowed charecters