Changing html output and classnames

Brings output into line with all the other tables in TE