Made quitbutton appear correctly.