Serial emulation improved.

Serial emulation improved.