Converted the UI to XUL.