Task managment structure. More debug and OS stuff.