some work on serialcom
working on threading