Column and row headers done, but not fully debugged.