Minor bug fixes

Fixed: Force Close due to cursors being closed, trying to figure out a
way around.