Cleanup of serial interface code, added translation estimate