Removed unused and removed a bunch of no longer needed output
statements.