Minor fixes and RTOS test

Wrote some includes in the RTOS library to eliminate errors.
Got LED on pin 13 to blink through a task, no idea how or why.