More boring GUI script stuff.