in monitor.step check if target still exists
rework logging, use approach from micropsi_logging