changed how changing global vars works
more rewriting
removing ads, more reworking