Working LagTimeGUI and Quit dialog

Working LagTimeGUI and Quit dialog.