cleaned up errors when there is no list
rewrote TaskList.js