Added tab functionality to results grid (can't get to work yet)