Fixes the PR comments corresponding to PR #339. In particular, callbacks that want data from tasks need to return a list of sensors that will be called on the task.
Introduces a number of other small misc improvement (a new CPCA loss ViT preprocessor, and better error handling).
PR: