Probably fixed texture generation. Still no idea what's up with the main program.
UGH I DO NO UNDERSTAND WHAT IS GOING ON THIS FILE SHOULD BE FUNCTIONALLY
IDENTICAL!.
I'm not sure what I was smoking when I wrote that block, but it must have been some good stuff.
Touched up the debug output. Redirected CERR to log.txt so piping was nto
necessary.
Hopefully removed that log file from the repository. Also updated gitignore so that it won't try and track those files anymore.