LP#1078593 Assorted small Serial.pm fixes