Various minor bug fixes relating to sensor status values