Remove updatetitle() and gettextprop(), both seem unnecessary.