Developing tish and improving uart handling