Fix issues with photo and voltage stimulus.

Photostimulus shutter would not close at end of recording, and voltage
stimulus protocols would not start on some rigs at start of recording.
Small changes to RecADCOnly.pas were sufficient to address these.
Fix bug in stimulus_issues which erroneously caused photo stimulus start.

The change made in stimulus_issues to address stimulus protocols not
starting on some rigs was found to erroneously toggle the photostimulus
protocol as well.  This change makes sure only the voltage stimulus is
toggled.
Fix issue with plotting fluorescence and ADC channel of different lengths.

In the Time Course Analysis window, Jaime Guzman pointed out that if the
fluorescence and voltage stimulus traces in an .IDR file were different
lengths, this would cause issues with plotting (the trace would be truncated,
and the values of the time axis would be off by a factor, in the file we
looked at it was 1.5).  The maximum of the two lengths is now used.
Modifications to RecADCOnly form, requested by D. Galtieri.

1) Minimum scope window width decreased from 1s to 0.05s.
2) "A/D Signals Only" is now checked by default.
3) Stimuli protocol lists can now be edited, with the ComboBoxes updating
   accordingly, without closing and reopening Record Signals window.
Revert change of "A/D Signals Only" in Record Signals window clicked by default

Change was made because of suggestion that photostimulus workflow would
be improved without having to select this each time.  But others reported
that this was detrimental to linescan workflow, in which case user would
need to keep unchecking this box.  Box is now unchecked by default as it
was originally, but retains state between closing and reopening Record
Signals window.
Fix failure to commit RecADCOnlyUnit.dfm

When I made the recadc_interface branch, and specifically the change
to make the "Record AD Signals Only" checkbox persistent, I forgot
to commit the .dfm file.  (Since I subsequently never bothered moving
that file back from the repo to the WinFluor workstation, this error
was not noticed until now, following the upgrade to 3.4.5.)
Allow existing waveforms to be dragged and dropped in stimulus editor.

Previously a new waveform could be dragged and dropped onto an existing
one, effectively erasing the previous waveform, replacing it with a
"blank" waveform of the same or a different type.  This change allows an
existing waveform to be dragged and dropped onto another; the parameters
of the second are overwritten by those of the first.
    Modify View Line Scans interface to address timing issues

    The fluorescence and ratio channels would occasionally have timing issues
    with the ADC channels; in particular, clicking the half-range button would
    not let one go below a limit imposed by the window size (rather than by
    the minimum value attainable given the IDR file).
Address interface issues in Event Analysis window

Extended maximum window widths on Detect Events and View Events tabs
(would not always allow full trace to be displayed); and made fluoro
and ADC channel displays show correct times and "line up" on View
Events window (formerly they could get "out of sync").
Make time axis reflect elapsed time since start of recording

When recording signals, the time axis now shows the time since
start of recording, rather than always showing zero to the
selected window length.  (Not currently compatible with the
Overlay Traces feature, which still exhibits the old behavior.)
Revert delay added in StartADC

The "Wait(0.1)" added in 3.4.6 seemed to cause issues
for the timescale feature (the starting time for the
display would be a number of unknown origin rather
than simply zero).
Merge pull request #4 from darrincedwards/stimulus_issues

Fix issues with photo and voltage stimulus.
Merge pull request #6 from darrincedwards/timecourse

Fix issue with plotting fluorescence and ADC channel of different length...
Merge pull request #8 from darrincedwards/recadc_interface

Modifications to RecADCOnly form, requested by D. Galtieri.
InternalBufferDuration added to LabIOUnit.pas and used in RecDADCOnlyUnit.pas
Merge pull request #9 from darrincedwards/stimeditor_dragdrop

Allow existing waveforms to be dragged and dropped in stimulus editor.
Merge pull request #10 from darrincedwards/viewscan_interface

    Modify View Line Scans interface to address timing issues
Merge pull request #12 from darrincedwards/recadc_timescale

Make time axis reflect elapsed time since start of recording
Merge pull request #11 from darrincedwards/event_analysis_interface

Address interface issues in Event Analysis window
Merge pull request #11 from darrincedwards/event_analysis_interface

Address interface issues in Event Analysis window