Rewrote serial code.  serial port is now auto-configured.