Added download of Timeline plot.
Addad download of Pyramid plot. Also cleaned up code fo Pyramid plot.