fork to test spike sorting module
Update code so it runs on OS X
Add flag for redrawing spikes
Towards a working PSTH sink....

PSTH sink can now has the capability to plot a graph like in matlab, to
display the average firing rate.
Still needs some work, for some reason, the auto repaint mechanism is
still not working properly.

Added also a log window to trace network commands.

Networkevents module has some debugging information that simulates trial
generation.
Added LFP PSTH support to PSTH sink, visualization still not working.
Fixed a timestamp lfp problem in Trial circular buffer
Fixed a couple of bugs related to timestamps & out of array access
Minor corrections to message parsing
Fixed animation in PSTH sink. Basic visualization is now working.
Fixed more bugs. LFPs can now be displayed.

Buttons in PSTH still not functional.
Added initial support for remote start/stop record (not yet tested).
Added timestamps to TTL events.
Added default psth conditions corresponding to ttl triggers.
Added gaussian smoothing support & other small bugs fixed.
Merged with master. Auto rescaling & smoothing operational.
Merged with master branch to test the new Merger processor.
Fixed the zmq close socket bug that caused the machine to hang during shutdown.
Fixed the zmq close socket bug (again).
Zmq (again)
Listening port in networkevents is not editable.

Fixed a bug in giving a software spike timestamp
Fixed critical bug in lfp circular buffer.

Also fixed auto range issue.
More features added. Getting closer to a stable version.

Network events now supports external trigger to start/stop record using
an ethernet command.
It also has a button to emulate start/stop recording and to simulate a
trial.
Condition visibility list is finally working in PSTH sink.
More bugs fixed.

Fixed memory leak in PSTH
Added an option to record control to disable event channel saving by
Record node (will be saved by one of the sinks instead, since the sink
will have both the TTL messages, in addition to all other messages that
have been circulating, like spikes & network)
Reverted changes to control panel to use the existing messaging system
for triggering recording.