Added player not found handling as well as  created the error dialog.