Remove unused lines.
Add command line option to set the serial port name.