So, I made the OrgTree.js by hand, and made a staff client. It actually appended dev.* to the beginning of the hostname, so this may be a bug. I'm now getting an error "fatal error opening XMLHTTPRequest for URL: chrome://openils/gateway" in Xulrunner. Ideas?