Fixed bug in scheduler: let PressureSensor properly use the BaseSensor
template for sample delay
Fixed issues where registering/unregistering sensors caused dead
domestic violence victims. @ktsitsikas ye ye?