More improvements to title in set_prompt