addes title to history, minor improvements