Changed loadframe to chop out top and bottom section of each image, since it's empty. Changed demo to chuck any regional maxima that are in the border of the frame, instead of padding the frame. We track the number of chucked regional maxima, hopefully it's small.