Update docs and fix fill layer selection and base date difference calculation.

Also remove most debugging code.