More touch-ups to Arduino code