Corrected grad resource wall building to handle walls with plateau values of 0 (turned "off") correctly.
Corrected grad resource wall building to correctly reset counters when using SetGradientResource.