Updated speed and g-code loop to handle pause, end, and other
conditions. UART slowed to 9600 speed to avoid stop errors.