Added exit and quit buttons for clean disconnection