Small Refactoring of Plugin

Nothing essential changed, basically preparing for bigger PRs coming (trying to split up the big PR that wasn't merged a few months ago).

Adding functionality that clears the element helper cache when the cache is manually cleared by a member of an authorized user group via Top Menu > Clear Cache.