If this program crashes one more time, I'm going to have a fit*!
*Another one at any rate.
PS: Figured out that starting by deleting peaks from the end does not cause the program to crash. It only crashes if you start by deleting peaks from the front. It also only crashes when you load up a second signal after processing the first. Go figure.