fix remote block overrun; add indices support
fix remote block overrun; add indices support

RobertoMalatesta/glshim,seandepagnier/glshim,lunixbochs/glshim,RobertoMalatesta/glshim,seandepagnier/glshim,seandepagnier/glshim,RobertoMalatesta/glshim,lunixbochs/glshim,lunixbochs/glshim,seandepagnier/glshim,lunixbochs/glshim,RobertoMalatesta/glshim