Bug title to document.title (Closes #16)