Adding switches for widgets.
Finalizing initial val struct.