Fixed fifo
Added __thread_cleanup
Added thead_yield
some schedule() changes. Delete stale tasks
Fixed declarations
mythread_yield tests