added a couple of todos, and removed the pritn statement in the set cursor exception handler