Improve history to work better with multiple sessions and to save height, and improve title to be able to change title after multiple inits.