fixed publishing on cms, added image viewer to pages, style tweaks