Global would actually halt the entire plugin on first error. So this is more preferable.
Simply to prevent error spam, since errors halt function. Meaning boolean wouldn't reset.