Made size_t checking work with globals, and variable initializations.