Reworked VariableCache: now acts as a Map and not as a Set. Corrected front-end recursion bug.