Checks whether territories are connected, hides pending commands from other users.