I've made the templates a bit more generic, so that most widgets generated from templates can also be opened directly in the browser (i.e open index.html) for testing, plus the .wgt can be installed using Opera and run as a desktop app.
Here's my "Twidget" example running on the desktop using Opera: http://scottbw.files.wordpress.com/2012/01/twidget-in-opera2.png (You can see the widget icon is used as the application's dock icon in Mac OS X) S PS Still some tweaks needed.. in Opera the Search form is slightly too long for the widget, the footer sometimes appears halfway up the widget etc, etc... but we'll get there.
