fixed some VAR names, corrected disk sizes, more work on core functions