cleaned up mythread
cleaned up boost thread