Rewrote PageImage class to support fetching from multiple pages
Allow to set a reference page
Handle style/script injection in the frontend module not template