Make X in the options window work like cancel button.

Make the X in the options window actually do something!  Always try click that first, before having to click cancel.  Well now, I can click X instead!