Change UART startup init to detect if hardware was left in a bad state (and hopefully fix it)