Rotary switch modifications.
Added option to widgets to be not be enclosed in a window.