Startup.s: added a handler for Timer1A
adc.c: Changed timer to timer0. Turns out this wasn't what fixed the bug but the fact that I was using a 32 bit timer for timer0 was somehow causing it
os.*: global timer is now on timer1a
thread.c: just a minor change if any real one at all..just want to make sure everything is updated