cleaned up print and debugging junk, added, and edited some comments