Added print output to show each peak as it's being removed.