Changed the scope frame to be a global variable, rather than a bunch of functions.
Cleanup of scope frame.
More cleanup of scope.
Cleanup of code in size_t checker.