Revised treewalk so that it walks everything.

This is so that we can use it more easily on the print function.
Added basic printer for printing results to the DOM.

CSS is a bit sucky though.