fix bugs in insertion and deletion to objectlist envir
Remove object list error from TODO
simpler length for RDS2

* since length returns the number of objects in environment