Updated todo and bug-list, index and set_userstate (bug-removal)