Move the waveform mode selection a bit...

Move it from the main UI loop to init, we're using static values anyways,
and a change of device at runtime is highly unlikely (:D).