This seems like it might have bugs (like if !prevShowAlleleDelta && !showAlleleDelta).