fixed a couple of bugs adding a page and got global rendering working
work on publishing and retrieving correct versions for display