modified the allWidgets example a little
Note: saveSettings is only working (in Windows), if there already exists a directory called "settings".