Fixed alignment for header and footer. Fixed spreadsheet view.