finish opengl waveform, some ux changes