fixes progress bar errors on resource start
This version includes improved changes to GC, better pseudo-randomness with `math.random()` (no longer requiring a seed to display even an ounce of randomness), and `const` keyword for all the immutable fellas out there.
Fix order needed for loops introduced on #25