Removes all Log() methods, makes one static method in GameEngine to
handle it. Adds code to output all debug code into a text file if debug
mode is off