Meandering thoughts while studying for art history exam . . .

Merriam Webster says that urban comes from the Latin word for city (urbs). How, if at all, does this relate to urbane (notably polite or finished in manner) and Urban, as in the name of various popes, including the one who started the Crusades?