improve rainbowduino serial port init code