Allocate the html buffer first when we know ca the real size.
Removed noisy printf.
Allocate the html buffer first when we know ca the real size. Added a \n after poprank.