Fixed duplicated spikes detection problem in SpikeDetector

Multiple other small changes:
sorted units now have unique ID that keeps increasing.
Initial support for FPGA visualization window (for modifying gains &
impedance)