switch back to using a function to set the titlebar - otherwise it
cannot update.