Fix a few issues found when testing connection to the Zilog via uart