Work on pages.

Most of this seems finished now. needs a bit of testing but should be
working in no time
More rendering methods

Added a method to lookup and render an image using text markup. I'll add
more of these as I need them