got serial threading working perfectly