Emit "window_title_changed" and "icon_title_changed" when the titles change,