Add some docstrings to merging db functions.

Mostly as a personal help to understand how this works.
Include the plot production time on the plotting page.