finished fixing some potential crash errors from xml file now just to use previous todolist code that was thought not to be working because of xml crashes