changing formatting code, broken now
removed Text.Printf
made copy of GeneratePatches
gah
added FakeMain for debuggin
fixed a couple range bugs
stuff
environment variables plus removed code causing warnings