Datagrid is half-working and the control bar is half-done