public void shellClosed(ShellEvent e) {
int style = SWT.APPLICATION_MODAL | SWT.YES | SWT.NO;
MessageBox messageBox = new MessageBox(getShell(), style);
messageBox.setText("Close Window");
messageBox.setMessage("Are you sure you want to exit?");
e.doit = messageBox.open() == SWT.YES;
// Lobby has been closed
// Dispose of the display entirely so all GameWindows are closed
// as well
if (e.doit){
exit();