Fixed bug with DS grid comparisons. Added define for image_single.