Clean up history grids and add version column