made sure clock was at 50MHz on OS_Init. Also increased max threads to 7