Adjusted the page margins in page settings and updated how the scaling of headers is handled.