Insert title into <head> of saved document.

This simply adds the title from the first div.title into the title of the saved html. This is more efficient, and technically makes the saved html more correct, because html actually requires a head with a title to validate :-)