Remove some boilerplate code from settings window

Not that it really matters, it's pretty much broken. :-)