v0.5.1: Add manual threshold pupil segmentation

Replace percmin, percmax config fields with pupil_percmax,
glint_percmin and pupil_threshold (for manual thresholding). Allows UI
control of pupil thresholding during segmentation.