fix line ending and add DockPanel to fix GridViewHeader to Top