Wayyyyy to many bugfixes & better logging.

This allows using "now" as the end date for an experiment. Then, you don't have to
change the date in the config file until the experiment actually ends.