added basic reactions to cursors--there are surely lots of memory leaks happening