Saved vises are now significantly less inefficient

Addresses issue #1698 and removes a lot of terrible code.