Added application of 1,000 threshold and the addition of it's number of remaining peaks to the list of Y axis values.
Add the total area for this profile to the list of X values.
Added comment block outlining what the script does in more detail.