multiple changes- DEBUG statements replaced with Debug in get_atomicdata, added function to modes which controls whether to print out a summary of the atomic data to file, replaced a few other instances of #if DEBUG.