Improves performance

Greatly improves performance (100x speedup in some cases). Also adds
confirmation to remove user link.