added some minor commenting
Add pie charts
Add newline after 'injected' comment
I mean, I don't know what the hell ed was doing, but it was wrong. So I fixed it. I also put the internal script files in the header.