Rewrite https://github.com/mfinkle/geckobrowser to embed a XUL application.