Fixed typo.
Tweaked the way the scope counter works. It is now accessed by a function that returns and updates the value. The interpreter and compiler now share a scope counter.