Updated TODO list
slightly simplified code
Better error reporting of unconfirmed transactions