at least got Quit button working