Cleanup code
Add initial waveform field
Update command names
Resize number of slots
Update examples to new format