Fixed serial port and plotting.