improved basename handling for zenity title