Added toggle buttons, and fixed a number of small bugs, including the widget transformation requirement inside the loaded files.