First set of fixes after a debug session.
There seems to be still an issue with the serial UART:  sometimed the chars in the buffer are not sent (missing interrupt for sure, need to find why since ints are enabled with each write)