temp_view and grab_temp_page

Lets you view a page without adding it to the project, and auto-add most recently temp viewed page. Also refactored a bit of code. My private version works, can't be 100% sure I've copied everything because github is being stupid. Will test soon.

Known bug:
a hrefs across multiple lines don't work yet. These will probably redirect you to the original url or just break.