Rework the navigation line and unify title handling. See #21.