tidy up render code
fix up delete & refresh
add pass/fail colouring
tidy
encapsulate log create
hierarchy tab within tab