Variable & selector fixes

Fixed missing GRIDCELLID_PREFIX & GRIDCELLID_POSTFIX in selector
Fixed hasHeaders initialization