Fixed sensor recording bug and Serial.Send() error logging bug