integrator/integrator: fixed typo in status update logic
TODO: added some tasks
integrator/integrator: fixed logic for the case of no samplers
test/visibility: no loss sources in case of no losses