added a frame and quit button