Code:

if (initialized) { textfast = ""; UpdateTarghet(ref Target); PrintDebugToPanel(textslow, textfast); } else { PrintDebugToPanel(error, error); } // block scanning are called rarely, or only once if you need to optimize more if ((Updates % 100) == 0) { textslow = ""; initialized = GridBlockScan(); }