Added flag to turn on debug messages (helpful when debugging parser, etc)