[1.2.1] Options window doesn't close

If you close the program with the options window open, then it’s still there after the rest of the program has closed down.