Major tweaks

More prep for rewrite, replaced a lot of echo with printf and removed date requirement
Restructed a couple of functions
Fixed loading[timer] not working (local variables were causing it to reset every tick)