Fixes some grid fitting issues, fixes header.