Modified todo.php to actually save the current list properly and debugged