Fixed the visualizer, began saving blink data

Added function that saves blink data