changed the debug printing flags to be more flag oriented(TM)