Default to only showing the maximum in the waveform view
Fix compilation on platforms where int64_t == long