Object sensor stuff compiles.
Fixed missing initialization bug in ObjectSensor.