Changes in main_servlet to get access from remote xul file