updated grid maker. fixed displaying grid overlay if program points fired before mode set to grid