The History is now rendered in the HMTL template. Added colors to the template and most of the information is now passed to the template in a reference to an array of references to hashes so it's to easier to loop through them.