Merge GraphViewer code from spikesorting branch