Deduplicate code for rendering titlebar texts
Deduplicate code for rendering titlebar texts

The title itself and marks were being rendered by two very-similar yet
different functions, and any changes made to one had to be reflected on
the other.

This mostly prevents such oversights from happening, and keeps makes
sure we keep both consistent.

1ace/sway,1ace/sway,1ace/sway