embed: set title properly when empty
Otherwise notebook tabs' labels don't get updated when navigating to a page without a title (e.g. a text file). The problem here is we were checking for NULL titles, but not for zero-length titles.
Showing with 4 additions and 3 deletions