Implement the new trigger method

This implements a new trigger method based on the
percentage of frames within a window that are above
or below certain thresholds.
Update documentation for new trigger method.