It seems that my last post was missing a pointer to a sample XUL application ;-) I went ahead and posted a simple example application here.