Update to fix for #1

Updated fix for #1 because of a couple possible issues regarding number assigned in name. Also re-added the clear snapshots button since it seems to work fine now.