georef pull request

Fixed georeferencing tool and removed all manual gc calls.