Writing OSC applications in XUL