Dev

beginnings of the root task & various associated bug fixes