Added better histogram rendering routine to the project. Stack overflow reference for the implementation