Plotted a border around the waveform, implemented double-tap code (just fires off a log if double tap occurs within bounds of the waveform)