Add Global Debug Flag. Add More Constants. Add constant debug logging.