Got thread switching working with one thread
Thread switching now working with more than one thread
Merged startup.s with thread switching functions