Fix XHR headers. Change server URL preferences to choices rather than text entry.