Full main layout rewrite: add headers (first row with dates) freezing