Bug 1160043: To make end of track flash user configurable

Added spinbox/slider in Prefrences->waveform.
 Currently, the timer ranges from 0 (no flash)
to 60 secs before the end of track.
Why we need to clamp here?